package com.tbit.manager.api.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 车辆状态统计
 *
 * @author <a href="mailto:yixingang@tbit.com.cn">yee_</a>
 * @version 1.0
 * @see <a href="#">#</a>
 * @since 2024/5/8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MachineOperationsStatDTO {
    /**
     * 日期
     */
    private String dataDate;

    /**
     * 闲置车辆数(短时)
     */
    private Integer idleShort;

    /**
     * 闲置车辆数(中时)
     */
    private Integer idleMiddle;

    /**
     * 闲置车辆数(高时)
     */
    private Integer idleLong;


    public void nullDefault() {
        this.idleShort = 0;
        this.idleMiddle = 0;
        this.idleLong = 0;
    }

}
